profiler: port GdkProfiler to sysprof-3
authorChristian Hergert <chergert@redhat.com>
Thu, 30 May 2019 02:02:30 +0000 (19:02 -0700)
committerChristian Hergert <chergert@redhat.com>
Thu, 30 May 2019 02:02:30 +0000 (19:02 -0700)
commit3a0beeadc5881a19a66bfcff7174fdad6f906158
tree60e937d3c24fdaf138a87791d0faad9be967b1d4
parent853e83270299bd05d85afc7572558e6c1fb41bed
profiler: port GdkProfiler to sysprof-3

This uses the new sysprof-3 ABI to implement the capture writer. It also
uses the statically linked libsysprof-capture-3.a that is provided with
Sysprof for the capture writing to ensure that we do not leak any symbols
nor depend on any additional libraries.

The GTK_TRACE_FD can be used to pass a FD for tracing into Gtk. Sysprof
uses this when the Gtk instrument is selected for recording.
config.h.meson
gdk/capture/sp-capture-types.h [deleted file]
gdk/capture/sp-capture-writer.c [deleted file]
gdk/capture/sp-capture-writer.h [deleted file]
gdk/capture/sp-clock.c [deleted file]
gdk/capture/sp-clock.h [deleted file]
gdk/gdk.c
gdk/gdkprofiler.c
gdk/meson.build
meson.build
meson_options.txt